﻿using MediatR;
using SlaughterItem.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace SlaughterItem.API.Application.Commands.Week02.POOK.AddWhitePork
{
    public class AddWhitePorkCommand:IRequest<Result>
    {
        /// <summary>
        /// 白条称重编号
        /// </summary>
        public int WhiteWeighingId { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string DepotName { get; set; }
        /// <summary>
        /// 屠宰编号
        /// </summary>
        public string SlaughterNo { get; set; }
        /// <summary>
        /// 商品代号
        /// </summary>
        public string GoodsMinute { get; set; }
        /// <summary>
        /// 称重时间
        /// </summary>
        public DateTime WhiteWeighingDate { get; set; }
        /// <summary>
        /// 皮重
        /// </summary>
        public double SkinWeight { get; set; }
        /// <summary>
        /// 毛重
        /// </summary>
        public double GrossWeight { get; set; }
        /// <summary>
        /// 净重
        /// </summary>
        public double NetWeight { get; set; }
        /// <summary>
        /// 扣减项
        /// </summary>
        public string DeductionName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string WhiteWeighingDesc { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int WeighingNum { get; set; }
        /// <summary>
        /// 划膘编号
        /// </summary>
        public string FattenName { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
